package com.itheima.user.service;

import com.itheima.domain.User;

import java.io.IOException;
import java.util.ArrayList;

public interface IUserService {
    void addUser(User user);
    void deleteUser(String username);
    void updatePassword(String username,User user);
    ArrayList<User> findAllUser();
    User findUser(String username);
    boolean isExists(String username);
    boolean isExistsEmail(String email);
    void write() throws IOException;
    void read() throws IOException, ClassNotFoundException;

}
